var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = require('mongoose').Schema.Types.ObjectId;
// Define User schema 
var _lession = new Schema({ 
    name : String, 
    num : String, 
    type : String, 
    path : String,
    desc : String,
    res:[],
    create_time: { type: Date, default: Date.now },
    update_time: { type: Date, default: Date.now }
});
// export them 
exports.lession = mongoose.model('lession', _lession);